package com.cc.model

import com.mybatisflex.annotation.Column
import com.mybatisflex.annotation.Id
import com.mybatisflex.annotation.KeyType
import com.mybatisflex.annotation.Table
import java.time.LocalDateTime

/**
 * 实体类。
 *
 * @author cc
 * @since 1.0
 */
@Table(value = "di_script")
class DiScript {
    /**
     * 主键id
     */
    @Id(keyType = KeyType.Auto)
    var id: String = ""

    /**
     * 资源库id
     */
    @Column(value = "rep_id")
    var repId: String = ""

    /**
     * 整合分类id
     */
    @Column(value = "category_id")
    var categoryId: String = ""

    /**
     * 脚本id
     */
    @Column(value = "script_id")
    var scriptId: String = ""

    /**
     * 名称
     */
    @Column(value = "name")
    var name: String = ""

    /**
     * 类型
     */
    @Column(value = "type")
    var type: String = ""

    /**
     * 脚本路径
     */
    @Column(value = "path")
    var path: String = ""

    /**
     * 创建时间
     */
    @Column(value = "create_date")
    var createDate: LocalDateTime? = null
}
